package request

type CommonSn struct {
	Sn string `bind:"required" json:"sn" form:"sn" uri:"sn"`
}

type GetMacSn struct {
	Sn              string `bind:"required" json:"sn" form:"sn" uri:"sn"`
	Mac             string `bind:"required" json:"mac" form:"mac" uri:"mac"`
	LocalMac        string `bind:"required" json:"local_mac" form:"local_mac" uri:"local_mac"`
	JpushId         string `bind:"required" json:"jpush_id" form:"jpush_id" uri:"jpush_id"`
	DevicesVersion  string `bind:"required" json:"devices_version" form:"devices_version"`
	AppstoreVersion string `json:"appstore_version" form:"appstore_version"`
	StoreVersion    string `json:"store_version" form:"store_version"`
}

type GetAccount struct {
	Account  string `bind:"required" json:"account" form:"account" uri:"account"`
	Password string `bind:"required" json:"password" form:"password" uri:"password"`
}

type KeySn struct {
	Sn  string `bind:"required" json:"sn" form:"sn" uri:"sn"`
	Key string `bind:"required" json:"key" form:"key" uri:"key"`
}

type KeySnVersion struct {
	Sn            string `bind:"required" json:"sn" form:"sn" uri:"sn"`
	Key           string `bind:"required" json:"key" form:"key" uri:"key"`
	VersionNumber string `bind:"version_number" json:"version_number" form:"version_number" uri:"version_number"`
}
type PackageType struct {
	Package string `bind:"required" json:"package" form:"package" uri:"package"`
	Type    string `bing:"required" json:"type" form:"type" uri:"type"`
}

type RefreshMac struct {
	Limit int `bind:"required" json:"limit" form:"limit" uri:"limit"`
}

type GanKaoInfo struct {
	Username string `bind:"required" json:"username" form:"username" uri:"username"`
	Grade    int64  `bind:"required" json:"grade" form:"grade" uri:"grade"`
	Qid      string `bind:"required" json:"qid" form:"qid" uri:"qid"`
	Avatar   string `bind:"required" json:"avatar" form:"avatar" uri:"avatar"`
	Sex      int64  `bind:"required" json:"sex" form:"sex" uri:"sex"`
	Address  string `bind:"required" json:"address" form:"address" uri:"address"`
	LoginSn  string `bind:"required" json:"login_sn" form:"login_sn" uri:"login_sn"`
}

type GetGanKao struct {
	Qid string `bind:"required" json:"qid" form:"qid" uri:"qid"`
}

type LogInGanKao struct {
	Qid     string `bind:"required" json:"qid" form:"qid" uri:"qid"`
	LoginSn string `bind:"required" json:"login_sn" form:"login_sn" uri:"login_sn"`
}

type SnTime struct {
	Sn      string `bind:"required" json:"sn" form:"sn" uri:"sn"`
	UseTime int64  `bind:"required" json:"use_time" form:"use_time" uri:"use_time"`
}
type NewSnTime struct {
	Sn      string `bind:"required" json:"sn" form:"sn" uri:"sn"`
	UseTime string `bind:"required" json:"use_time" form:"use_time" uri:"use_time"`
}

type BrowserRecord struct {
	Sn     string `bind:"required" json:"sn" form:"sn" uri:"sn"`
	Record string `bind:"required" json:"record" form:"record" uri:"record"`
}

type QidActive struct {
	Sn  string `json:"sn"`
	Qid string `json:"qid"`
	Uid int64  `json:"uid"`
}
type SnRead struct {
	Sn              string `bind:"required" json:"sn" form:"sn" uri:"sn"`
	Id              int64  `bind:"required" json:"id" form:"id" uri:"id"`
	Type            int    `bind:"required" json:"type" form:"type" uri:"type"`
	FeedbackContent string `bind:"required" json:"feedback_content" form:"feedback_content" uri:"feedback_content"`
}

//创建推送Api请求参数
type JpushCreate struct {
	Platform string       `json:"platform"`
	Audience interface{}  `json:"audience"`
	Message  JpushMessage `json:"message"`
}

type JpushMessage struct {
	MsgContent  string      `json:"msg_content"`
	Title       string      `json:"title"`
	ContentType string      `json:"content_type"`
	Extras      interface{} `json:"extras"`
}

type SetLockState struct {
	Sn     string `bind:"required" json:"sn" form:"sn" uri:"sn"`
	Status int64    `bind:"required" json:"status" form:"status" uri:"status"`
}
